.banner_title_wrapper {
  min-height: 140px;
  z-index: 1;
}
.stamp-rally-image img {
  object-fit: cover;
  aspect-ratio: 4/1;
  filter: brightness(0.7);
}
.banner_title {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  width: 90%;
  /* max-height: 80%;
  overflow: hidden; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#rally-share-button {
  background-color: #007bff;
  color: #fff;
  font-size: 13px;
  border-radius: 20px;
  position: absolute;
  bottom: 10px;
  right: 10px;
}
#rally-nav-wrapper {
  background-color: #f2f2f2;
  border: 1px solid #cfcfcf;
}
#rally-nav-wrapper li {
  width: calc(100% / 4);
  border-right: 1px solid #cfcfcf;
}
#rally-nav-wrapper li:last-of-type {
  border-right: none;
}
#rally-nav-wrapper li.one-less-tab {
  width: calc(100% / 3);
}
.rally-page-tabs .nav-pills .nav-link {
  text-align: center;
  border-radius: 0 !important;
  color: #666666;
  padding: 12px 6px;
}
.rally-page-tabs .nav-pills .nav-link.active {
  border-bottom: 3px solid #1a1a1a;
  color: #1a1a1a;
  background-color: initial !important;
}
.stamp-card {
  height: 120px;
  border: 1px solid #dee2e6;
}
.stamp-card.stamp-card-admin-preview {
  filter: opacity(0.5) grayscale(1);
  position: relative;
}
.stamp-card.stamp-card-admin-preview .display-indicator {
  position: absolute;
  z-index: 1;
  background: #fff;
  padding: 0.25rem;
  border-bottom-right-radius: 0.5rem;
}
.stamp-card.completed {
  background-color: #eee;
}
.stamp-card.order-next {
  border-color: #dc3545;
}
.stamp-card:hover {
  border-color: #fa8b33;
}
.stamp-image {
  object-fit: cover;
  width: 100%;
  height: auto;
}
.stamp-trigger-container.active {
  color: #007bff !important;
}
.stamp-details-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-y: hidden;
}

#stamp_map {
  height: 420px;
}

.view-journal-card {
  width: 100%;
  padding: 20px;
  background-color: #f3f2f2;
  border-radius: 15px;
}
.view-journal-text {
  font-weight: bold;
  font-size: 18px;
  color: #666666;
  margin-bottom: 12px;
}

.rally-member-box img {
  border: 4px solid transparent;
}
.rally-member-box.rally-complete img {
  border-color: #28a745;
}
.rally-member-box.rally-complete .user-name {
  font-weight: 700;
}
.rally-member-box.rally-complete .complete-date {
  font-size: 60%;
  font-weight: 400;
  position: absolute;
  left: 0;
  bottom: -0.25rem;
}

.prize-img-holder img {
  max-height: 320px;
  max-width: 320px;
}

.rally-leaderboard-card {
  max-width: 160px;
}
.rally-leaderboard-image .podium-image {
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.rally-placement-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.rally-leaderboard-username {
  box-shadow: 0 0.125rem 0rem rgba(0, 0, 0, 0.15);
}

.rally-leaderboard-card.placement-0 {
  order: 1;
}
.rally-leaderboard-card.placement-0 .rally-leaderboard-image .podium-image {
  border: solid 4px #e1d142;
  width: 140px;

  background-image: linear-gradient(
    320deg,
    #ffffff 25%,
    #e1d1423f 25%,
    #e1d1423f 50%,
    #ffffff 50%,
    #ffffff 75%,
    #e1d1423f 75%,
    #e1d1423f 100%
  );
  background-size: 21.78px 18.28px;
}
.rally-leaderboard-card.placement-0 .rally-placement-badge {
  background: #e1d142;
}
.rally-champion-badge {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  color: #e1d142;
}
.rally-leaderboard-card.placement-1 {
  order: 0;
}
.rally-leaderboard-card.placement-1 .rally-leaderboard-image .podium-image {
  border: solid 2px #ababab;
  width: 110px;

  background-image: linear-gradient(
    320deg,
    #ffffff 25%,
    #ababab3f 25%,
    #ababab3f 50%,
    #ffffff 50%,
    #ffffff 75%,
    #ababab3f 75%,
    #ababab3f 100%
  );
  background-size: 21.78px 18.28px;
}
.rally-leaderboard-card.placement-1 .rally-placement-badge {
  background: #ababab;
}
.rally-leaderboard-card.placement-1 .rally-leaderboard-username {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}
.rally-leaderboard-card.placement-2 {
  order: 2;
}
.rally-leaderboard-card.placement-2 .rally-leaderboard-image .podium-image {
  border: solid 2px #c28d4e;
  width: 96px;

  background-image: linear-gradient(
    320deg,
    #ffffff 25%,
    #c28e4e3f 25%,
    #c28e4e3f 50%,
    #ffffff 50%,
    #ffffff 75%,
    #c28e4e3f 75%,
    #c28e4e3f 100%
  );
  background-size: 21.78px 18.28px;
}
.rally-leaderboard-card.placement-2 .rally-placement-badge {
  background: #c28d4e;
}
.rally-leaderboard-card.placement-2 .rally-leaderboard-username {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.rally-standings-wrapper {
  /* height: 65vh; */
  min-height: 30vh;
  max-height: 65vh;
  overflow: auto;
}

.leaderboard-group .member-cell {
  min-width: 5.25rem;
}

/* iPad */
@media screen and (max-width: 1199px) {
  .stamp-rally-image img {
    aspect-ratio: 3/1;
  }
}

@media screen and (max-width: 767px) {
  .stamp-rally-image img {
    aspect-ratio: 16/9;
  }
  #rally-nav-wrapper li button {
    font-size: 11px;
  }
  #rally-nav-wrapper li.one-less-tab button {
    font-size: 14px;
  }
  .rally-leaderboard-card {
    max-width: 112px;
  }
  .rally-leaderboard-card.placement-0 .rally-leaderboard-image .podium-image {
    width: 96px;
  }
  .rally-leaderboard-card.placement-1 .rally-leaderboard-image .podium-image {
    width: 84px;
  }
  .rally-leaderboard-card.placement-2 .rally-leaderboard-image .podium-image {
    width: 72px;
  }
}

.rally-tutorial-area .tutorial-card {
  background-color: #17a2b8;
}

.rally-tutorial-area img {
  max-width: 3.5em;
}

.space-redirect-icon {
  height: 48px;
  width: 48px;
}
